import OneResolveDetail from './OneResolveDetail'
import { StoreState } from '../../redux/Types'
import { connect } from 'react-redux'

export function mapStateToProps({ oneCheck: { record },global: { sample, sampleImgs, sampleScore, roleScore } }: StoreState) {
  return {
    sampleScore,
    roleScore,
    record,
    sample,
    sampleImgs
  }
}
export default connect(mapStateToProps)(OneResolveDetail)